<?


REQUIRE("../protect/connect_jeu.php");
$query="SELECT perso_id FROM sduser_perso where perso_classe=8";
$resultat1=mysql_query($query);



WHILE ($tmp=mysql_fetch_array($resultat1)){


//$query="INSERT INTO sdcon_inv (inv_id, inv_user) VALUES (2000, $tmp[0])";

  $query="update sduserperso SET perso_lorin=perso_lorin+10000 , perso_pame=perso_pame+10000 where perso_id=$tmp[0]";
                    echo $query;
   $resultat=mysql_query($query);



}
?>
